package com.cbtService.AndroidSDK;

public class HardwareControler {
	static {
		System.loadLibrary("serialtest_runtime");
	}
	public static native boolean _init();
	static public native int openSerialPort( String devName, long baud, int dataBits, int stopBits);
	static public native int write(int fd, byte[] data);
	static public native int read(int fd, byte[] buf, int len);
	static public native int select(int fd,int sec,int usec);
	
}
